
# before the parameter name, there is a single dash (-), not a equal sign (=)
# -match is case-insensitive
# "abc" =match "a"
"abc" -match "a"

"abc" -match "ab"
"abc" -match "def"

$regex = "a*b"
$regex1 = "a+b"
$regex2 = "a?b"

"bcdefg" -match $regex
"bcdefg" -match $regex1
"bcdefg" -match $regex2